package com.stox.client.embedded.data.provider;

import java.util.List;

import com.stox.client.api.data.provider.BarClient;
import com.stox.services.data.provider.manager.BarManager;
import com.stox.shared.core.model.Bar;
import com.stox.shared.core.model.filter.BarCriteria;
import com.stox.shared.core.util.DebugUtil;

public class EmbeddedBarClient implements BarClient {

	public static final EmbeddedBarClient INSTANCE = new EmbeddedBarClient();
	
	private EmbeddedBarClient() {
		
	}
	
	@Override
	public List<Bar> find(BarCriteria barCriteria) {
		DebugUtil.printStack();
		return BarManager.INSTANCE.find(barCriteria);
	}

}
